package com.theaf.basemodule.common.vo.organ;

import com.theaf.basemodule.common.dto.organ.BankDTO;
import com.theaf.basemodule.common.dto.organ.ContactDTO;
import com.theaf.basemodule.common.dto.organ.PhotoDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @Author:songwenke
 * @Description:机构
 * @Date:create in 15:38 2018/1/29
 * @Modified By:
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PartsSupVO implements Serializable {
    @ApiModelProperty("ID")
    private Long id;
    @ApiModelProperty("父ID")
    private Long pid;
    @ApiModelProperty("简称")
    private String simpleName;
    @ApiModelProperty("全称")
    private String fullName;
    @ApiModelProperty(value="类型",example="PARTS_SUP")
    private String type;
    @ApiModelProperty("地区")
    private Long areaId;
    @ApiModelProperty("是否启用")
    private boolean enabled;
    @ApiModelProperty("地址")
    private String address;
    @ApiModelProperty("位置")
    private String location;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("结算类型")
    private String balanceType;
    @ApiModelProperty("是否开票")
    private boolean openTicketed;
    @ApiModelProperty("是否自营")
    private boolean selfSupported;
    @ApiModelProperty("是否包邮")
    private boolean mailBaged;
    @ApiModelProperty("税率%")
    private float tax;
    @ApiModelProperty("介绍")
    private String introduce;
    @ApiModelProperty("提现手续费%")
    private float fee;
    @ApiModelProperty("联系方式")
    private List<ContactDTO> contactDTOList;
    @ApiModelProperty("照片信息")
    private List<PhotoDTO> photoDTOList;
    @ApiModelProperty("银行信息")
    private List<BankDTO> bankDTOList;
    @ApiModelProperty("责任人")
    private Long poster;
}
